// RucNetNewDlg.h : header file
//

#if !defined(AFX_RUCNETNEWDLG_H__4A255272_D7FF_45C2_B939_15B8C97C0850__INCLUDED_)
#define AFX_RUCNETNEWDLG_H__4A255272_D7FF_45C2_B939_15B8C97C0850__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CRucNetNewDlg dialog
#include "Afx.h"

extern struct _userinfo *myuserinfo;
extern char usrname[100];
extern char pwd[100];
extern char uid[100];
extern char err[1000];
extern char Autologin[5];
extern char Savepass[5];
extern char Autorun[5];
extern char localIP[16];

class CRucNetNewDlg : public CDialog
{
// Construction
public:
	CRucNetNewDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CRucNetNewDlg)
	enum { IDD = IDD_RUCNETNEW_DIALOG };
	NOTIFYICONDATA nid;
	bool IsLogin;
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CRucNetNewDlg)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	virtual void toTray(bool hide);
	virtual BOOL ShowBalloonTip(LPCTSTR szMsg,LPCTSTR szTitle,DWORD dwInfoFlags,UINT uTimeout);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL
// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CRucNetNewDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnButton1();
	afx_msg LRESULT onShowTask(WPARAM wParam,LPARAM lParam);
	afx_msg LRESULT onLogOut();
	afx_msg LRESULT onLogOut1();
	afx_msg LRESULT onLogOut2();
	afx_msg LRESULT onShowRest();
	afx_msg LRESULT onService();
	afx_msg LRESULT onWeather();
	afx_msg LRESULT onWeb(UINT nID);
	afx_msg LRESULT onDigC(WPARAM wParam,LPARAM lParam);
	afx_msg void OnButton2();
	afx_msg void OnDestroy();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_RUCNETNEWDLG_H__4A255272_D7FF_45C2_B939_15B8C97C0850__INCLUDED_)
